<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Global -  Documentation</title>

    <!--[if lt IE 9]>
      <script src="javascript/html5.js"></script>
    <![endif]-->
    <link href="styles/jsdoc-default.css" rel="stylesheet">
    <link href="styles/prism.css" rel="stylesheet">
</head>
<body>

<div id="main">

    <h1 class="page-title">
        <a href="index.html"><img src="Images/Logo.png" class="cesiumLogo"></a>
        Global
        <div class="titleCenterer"></div>
    </h1>

    




<section>

<header>
    
</header>

<article>
    <div class="container-overview">
    

    
        



        

        
<dl class="details">


    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>

    
    </div>

    

    

    

    

    

    

    
        <h3 class="subsection-title">Methods</h3>

        
            
    <div class="nameContainer">
    <h4 class="name" id="cameraFlyTo">
        <a href="#cameraFlyTo" class="doc-link"></a>
        cameraFlyTo<span class="signature">(object)</span> &rarr; <span class="type-signature returnType">Boolean</span>
        


    </h4>

    </div>

    


<div class="description">
    相机，移动
</div>











    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>object</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            <td class="description last">
            
                
                

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>destination</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            
                <td class="default">
                
                </td>
            

            <td class="description last">
            
                
                

                
            
                <span style="color: #ff7c3e;">必填<span><span style="color: black;"><span> 传入 经纬度视图级别 或者 经纬度边界<br />选择传入：longitude、latitude、zoom<br />或者：west、south、east、north<br />
                

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>longitude</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            <td class="description last">
            
                经度（单位：°）</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>latitude</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            <td class="description last">
            
                维度（单位：°）</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>zoom</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            <td class="description last">
            
                视图级别</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>west</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            <td class="description last">
            
                最西经度（单位：°）</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>south</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            <td class="description last">
            
                最南纬度（单位：°）</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>east</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            <td class="description last">
            
                最东经度（单位：°）</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>north</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            <td class="description last">
            
                最北纬度（单位：°）</td>
        </tr>

    
    </tbody>
</table>
            </td>
        </tr>

    

        <tr>
            
                <td class="name"><code>rotation</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">null</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                旋转角度（0 ~ 360.0，单位：°）/ null<br />传 null 或 不传，则取当前视角角度；0、360.0 为上北下南左西右东<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>duration</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">1000.0</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                移动时间（单位：毫秒），0 则瞬间定位过去，跳过相机移动动画</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>coordinatesSystem</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">null</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                object.destination.longitude/latitude/west/south/east/north 的 坐标系：<br />'bd09' 、 'gcj02' 、 'cgcs2000' ， 大小写不敏感<br />自动转换 为 地图源坐标系<br />传 null 或 不传，则 认为 和 地图源坐标系 相同<br />地图源坐标系 通过地图初始化函数 nextTick2dMap object.coordinatesSystem 设置 且无法变更<br /></td>
        </tr>

    
    </tbody>
</table>
            </td>
        </tr>

    
    </tbody>
</table>











<h5>Returns:</h5>

        
<div class="param-desc">
    调用是否成功
</div>


    




<dl class="details">


    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


        
            
    <div class="nameContainer">
    <h4 class="name" id="cameraFlyToBegin">
        <a href="#cameraFlyToBegin" class="doc-link"></a>
        cameraFlyToBegin<span class="signature">()</span> &rarr; <span class="type-signature returnType">Boolean</span>
        


    </h4>

    </div>

    


<div class="description">
    相机，移动 到 初始位置earth2dConfig 初始位置 的 数据 为 地图源坐标系<br />地图源坐标系 通过地图初始化函数 nextTick2dMap object.coordinatesSystem 设置 且无法变更<br />
</div>





















<h5>Returns:</h5>

        
<div class="param-desc">
    调用是否成功
</div>


    




<dl class="details">


    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


        
            
    <div class="nameContainer">
    <h4 class="name" id="cameraPositionGet">
        <a href="#cameraPositionGet" class="doc-link"></a>
        cameraPositionGet<span class="signature">(object)</span> &rarr; <span class="type-signature returnType">Object</span>
        


    </h4>

    </div>

    


<div class="description">
    相机，获取 当前视图 和 位置信息
</div>











    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>object</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            <td class="description last">
            
                
                

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>coordinatesSystem</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">null</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                设置返回数据 的 坐标系： 'bd09' 、 'gcj02' 、 'cgcs2000' ， 大小写不敏感<br />传 null 或 不传，则 为 地图源坐标系<br />地图源坐标系 通过地图初始化函数 nextTick2dMap object.coordinatesSystem 设置 且无法变更<br /></td>
        </tr>

    
    </tbody>
</table>
            </td>
        </tr>

    
    </tbody>
</table>











<h5>Returns:</h5>

        
<div class="param-desc">
    当前视图和位置信息：<br />Object.longitude &emsp;Type:Number &emsp;经度（单位：°）<br />Object.latitude &emsp;Type:Number &emsp;维度（单位：°）<br />Object.zoom &emsp;Type:Number &emsp;视图级别<br />Object.rotation &emsp;Type:Number &emsp;旋转角度（0 ~ 360.0，单位：°）<br />Object.west &emsp;Type:Number &emsp;最西经度（单位：°）<br />Object.south &emsp;Type:Number &emsp;南纬度（单位：°）<br />Object.east &emsp;Type:Number &emsp;最东经度（单位：°）<br />Object.north &emsp;Type:Number &emsp;最北纬度（单位：°）<br />
</div>


    




<dl class="details">


    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


        
            
    <div class="nameContainer">
    <h4 class="name" id="cameraZoomIn">
        <a href="#cameraZoomIn" class="doc-link"></a>
        cameraZoomIn<span class="signature">()</span> &rarr; <span class="type-signature returnType">Boolean</span>
        


    </h4>

    </div>

    


<div class="description">
    相机，放大
</div>





















<h5>Returns:</h5>

        
<div class="param-desc">
    调用是否成功
</div>


    




<dl class="details">


    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


        
            
    <div class="nameContainer">
    <h4 class="name" id="cameraZoomOut">
        <a href="#cameraZoomOut" class="doc-link"></a>
        cameraZoomOut<span class="signature">()</span> &rarr; <span class="type-signature returnType">Boolean</span>
        


    </h4>

    </div>

    


<div class="description">
    相机，缩小
</div>





















<h5>Returns:</h5>

        
<div class="param-desc">
    调用是否成功
</div>


    




<dl class="details">


    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


        
            
    <div class="nameContainer">
    <h4 class="name" id="coordinatesTransform">
        <a href="#coordinatesTransform" class="doc-link"></a>
        coordinatesTransform<span class="signature">(object)</span> &rarr; <span class="type-signature returnType">Array|Array.&lt;Array></span>
        


    </h4>

    </div>

    


<div class="description">
    坐标系转换<br />地图 APi 传入的经纬度必须是 cgcs2000 坐标系<br />这里进行坐标系的转换，支持批量操作<br />
</div>











    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>object</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            <td class="description last">
            
                
                

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>coordinates</code></td>
            

            <td class="type">
            
                
<span class="param-type">Array</span>


            
            </td>

            

            <td class="description last">
            
                <span style="color: #ff7c3e;">必填<span><span style="color: black;"><span><br />1. 单个转换：一维数组，数组长度为固定 2<br />[$经度, $纬度]；<br /><br />2. 批量转换：二维数组，子数组数组长度为固定 2<br />[<br />&emsp;[$经度0, $纬度0],<br />&emsp;[$经度1, $纬度1]<br />&emsp;……<br />]；<br /><br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>from</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            <td class="description last">
            
                <span style="color: #ff7c3e;">必填<span><span style="color: black;"><span> 源坐标系： 'bd09' 、 'gcj02' 、 'cgcs2000' ， 大小写不敏感</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>to</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            <td class="description last">
            
                <span style="color: #ff7c3e;">必填<span><span style="color: black;"><span> 目标坐标系： 'bd09' 、 'gcj02' 、 'cgcs2000' ， 大小写不敏感</td>
        </tr>

    
    </tbody>
</table>
            </td>
        </tr>

    
    </tbody>
</table>











<h5>Returns:</h5>

        
<div class="param-desc">
    1. 单个转换：返回一维数组，数组长度为固定 2<br />[$经度, $纬度]；<br />2. 批量转换：返回二维数组，子数组数组长度为固定 2<br />[<br />&emsp;[$经度0, $纬度0],<br />&emsp;[$经度1, $纬度1]<br />&emsp;……<br />]；<br />
</div>


    




<dl class="details">


    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


        
            
    <div class="nameContainer">
    <h4 class="name" id="destroyed">
        <a href="#destroyed" class="doc-link"></a>
        destroyed<span class="signature">()</span> &rarr; <span class="type-signature returnType">Boolean</span>
        


    </h4>

    </div>

    


<div class="description">
    销毁 地图组件
</div>





















<h5>Returns:</h5>

        
<div class="param-desc">
    调用是否成功
</div>


    




<dl class="details">


    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


        
            
    <div class="nameContainer">
    <h4 class="name" id="editLayerOverlayHeatMap">
        <a href="#editLayerOverlayHeatMap" class="doc-link"></a>
        editLayerOverlayHeatMap<span class="signature">(object)</span> &rarr; <span class="type-signature returnType">Boolean</span>
        


    </h4>

    </div>

    


<div class="description">
    编辑图层，覆盖写入 热力图<br />注意：热力图、点聚合、点、线、圆圈、扇形、面环、面在 layerIndex 的不同子图层，不会相互覆盖<br />子图层顺序为 热力图0、面1、面环2、扇形3、圆圈4、线5、点6、点聚合7<br />
</div>











    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>object</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            <td class="description last">
            
                
                

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>layerIndex</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">0</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                图层 index 取值 0 ~ 999 的自然数</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>opacity</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">0.75</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                热力图透明度 取值 0.0 ~ 1.0</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>gradient</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">{ 0.3: '#00f', 0.5: '#0f0', 0.7: '#ff0', 0.95: '#f00' }</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                热力图颜色渐变，其中 key 表示间隔位置，取值 0.0 ~ 1.0，value 为颜色值 '#fff'、'#ffffff' 16进制格式 或者 'rgb(255,255,255)' rgb格式</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>radius</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">8.0</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                热力图半径大小（单位：像素 px）</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>blur</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">15.0</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                热力图模糊大小（单位：像素 px）</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>maxCount</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">100.0</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                热力图权重最大值 取值（>= 1.0）</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>resultJson</code></td>
            

            <td class="type">
            
                
<span class="param-type">Array.&lt;Object></span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">[]</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                
                

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>coordinates</code></td>
            

            <td class="type">
            
                
<span class="param-type">Array</span>


            
            </td>

            
                <td class="default">
                
                </td>
            

            <td class="description last">
            
                
                

                
            
                <span style="color: #ff7c3e;">必填<span><span style="color: black;"><span><br />点（'point'）：一维数组，数组长度为固定 2<br />[$经度, $纬度]；<br /><br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>count</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">10.0</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                热力图权重 取值（>= 1.0）</td>
        </tr>

    
    </tbody>
</table>
            </td>
        </tr>

    

        <tr>
            
                <td class="name"><code>coordinatesSystem</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">null</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                resultJson 坐标系： 'bd09' 、 'gcj02' 、 'cgcs2000' ， 大小写不敏感<br />自动转换 为 地图源坐标系<br />传 null 或 不传，则 认为 和 地图源坐标系 相同<br />地图源坐标系 通过地图初始化函数 nextTick2dMap object.coordinatesSystem 设置 且无法变更<br /></td>
        </tr>

    
    </tbody>
</table>
            </td>
        </tr>

    
    </tbody>
</table>











<h5>Returns:</h5>

        
<div class="param-desc">
    调用是否成功
</div>


    




<dl class="details">


    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


        
            
    <div class="nameContainer">
    <h4 class="name" id="editLayerOverlayPoint">
        <a href="#editLayerOverlayPoint" class="doc-link"></a>
        editLayerOverlayPoint<span class="signature">(object)</span> &rarr; <span class="type-signature returnType">Boolean</span>
        


    </h4>

    </div>

    


<div class="description">
    编辑图层，覆盖写入 点<br /><span style="color: red;">必看：这个函数，本质上为撒不同样式的点<br />即插入图片，则每个点都有自己不同的图片<br />考虑到性能，渲染限制 resultJson 数组 长度 最大为 1W（10000）<br />即 resultJson[9999] 为最后渲染的元素，之后数据会剔除<br /></span>注意：热力图、点聚合、点、线、圆圈、扇形、面环、面在 layerIndex 的不同子图层，不会相互覆盖<br />子图层顺序为 热力图0、面1、面环2、扇形3、圆圈4、线5、点6、点聚合7<br />
</div>











    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>object</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            <td class="description last">
            
                
                

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>layerIndex</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">0</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                图层 index 取值 0 ~ 999 的自然数</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>imageSrc</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                存储图片<br />多个点共用，如果 object.resultJson[].properties.imageSrc 传入，则以 properties 为准<br />支持：<br />1. png/jpg/svg https地址<br />2. 图片base64字符串<br /><span style="color: red;">resultJson 数组 长度 大于 1K（1000） 时<br />为保持性能，强烈建议 png/jpg 格式 https地址，大小 600 Byte 以内<br />Imagine(https://github.com/meowtec/Imagine) 工具 极致压缩图片<br />svg 格式 同样文件大小 9000 Byte 容易导致卡顿<br /></span></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>imageColor</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                图片着色的颜色。如果未指定，图片将保持原样<br />多个点共用，如果 object.resultJson[].properties.imageColor 传入，则以 properties 为准<br />支持 标准css颜色 如：<br />1. svg、jpg '#ff0000'<br />2. png 'rgba(255,0,0,0.5)'<br />3. 用纯色 svg 建议底色为 '#ffffff' 白色，黑色不起效果<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textValue</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的内容<br />多个点共用，如果 object.resultJson[].properties.textValue 传入，则以 properties 为准<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textFont</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">12</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的像素大小<br />多个点共用，如果 object.resultJson[].properties.textFont 传入，则以 properties 为准<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textStrokeWidth</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">3</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的文字描边粗细像素<br />多个点共用，如果 object.resultJson[].properties.textStrokeWidth 传入，则以 properties 为准<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textStrokeColor</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">'rgba(0,0,0,1)'</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的文字描边颜色<br />支持 标准css颜色<br />多个点共用，如果 object.resultJson[].properties.textStrokeColor 传入，则以 properties 为准<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textFillColor</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">'rgba(255,255,255,1)'</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的填充颜色<br />支持 标准css颜色<br />多个点共用，如果 object.resultJson[].properties.textFillColor 传入，则以 properties 为准<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textOffsetX</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">0</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的 X轴偏移像素像素<br />多个点共用，如果 object.resultJson[].properties.textOffsetX 传入，则以 properties 为准<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textOffsetY</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">0</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的 Y轴偏移像素像素<br />多个点共用，如果 object.resultJson[].properties.textOffsetY 传入，则以 properties 为准<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>onlyText</code></td>
            

            <td class="type">
            
                
<span class="param-type">Boolean</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">true</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                object.textValue 不为 空 或者 不为 空字符串 时，是否取消默认点图片，并忽略 image……相关参数<br />多个点共用，如果 object.resultJson[].properties.onlyText 传入，则以 properties 为准<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>resultJson</code></td>
            

            <td class="type">
            
                
<span class="param-type">Array.&lt;Object></span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">[]</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                
                

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>id</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                </td>
            

            <td class="description last">
            
                
                

                
            
                <span style="color: #ff7c3e;">必填<span><span style="color: black;"><span></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>coordinates</code></td>
            

            <td class="type">
            
                
<span class="param-type">Array</span>


            
            </td>

            
                <td class="default">
                
                </td>
            

            <td class="description last">
            
                
                

                
            
                <span style="color: #ff7c3e;">必填<span><span style="color: black;"><span><br />点（'point'）：一维数组，数组长度为固定 2<br />[$经度, $纬度]；<br /><br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>properties</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">{}</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                存储图形属性
                

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>imageSrc</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                存储图片<br />支持：<br />1. png/jpg/svg https地址<br />2. 图片base64字符串<br /><span style="color: red;">resultJson 数组 长度 大于 1K（1000） 时<br />为保持性能，强烈建议 png/jpg 格式 https地址，大小 600 Byte 以内<br />Imagine(https://github.com/meowtec/Imagine) 工具 极致压缩图片<br />svg 格式 同样文件大小 9000 Byte 容易导致卡顿<br /></span></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>imageColor</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                图片着色的颜色。如果未指定，图片将保持原样<br />支持 标准css颜色 如：<br />1. svg、jpg '#ff0000'<br />2. png 'rgba(255,0,0,0.5)'<br />3. 用纯色 svg 建议底色为 '#ffffff' 白色，黑色不起效果<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textValue</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的内容</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textFont</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">12</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的像素大小</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textStrokeWidth</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">3</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的文字描边粗细像素</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textStrokeColor</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">'rgba(0,0,0,1)'</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的文字描边颜色<br />支持 标准css颜色<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textFillColor</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">'rgba(255,255,255,1)'</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的填充颜色<br />支持 标准css颜色<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textOffsetX</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">0</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的 X轴偏移像素像素</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>textOffsetY</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">0</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                添加文字标签的 Y轴偏移像素像素</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>onlyText</code></td>
            

            <td class="type">
            
                
<span class="param-type">Boolean</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">true</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                object.textValue 不为 空 或者 不为 空字符串 时，是否取消默认点图片，并忽略 image……相关参数<br /></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>……</code></td>
            

            <td class="type">
            
            </td>

            
                <td class="default">
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                其他自定义属性，方便后面选取获得</td>
        </tr>

    
    </tbody>
</table>
            </td>
        </tr>

    
    </tbody>
</table>
            </td>
        </tr>

    

        <tr>
            
                <td class="name"><code>coordinatesSystem</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">null</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                resultJson 坐标系： 'bd09' 、 'gcj02' 、 'cgcs2000' ， 大小写不敏感<br />自动转换 为 地图源坐标系<br />传 null 或 不传，则 认为 和 地图源坐标系 相同<br />地图源坐标系 通过地图初始化函数 nextTick2dMap object.coordinatesSystem 设置 且无法变更<br /></td>
        </tr>

    
    </tbody>
</table>
            </td>
        </tr>

    
    </tbody>
</table>











<h5>Returns:</h5>

        
<div class="param-desc">
    调用是否成功
</div>


    




<dl class="details">


    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


        
            
    <div class="nameContainer">
    <h4 class="name" id="nextTick2dMap">
        <a href="#nextTick2dMap" class="doc-link"></a>
        nextTick2dMap<span class="signature">(object)</span> &rarr; <span class="type-signature returnType">Promise.&lt;Boolean></span>
        


    </h4>

    </div>

    


<div class="description">
    渲染 地图组件
</div>











    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>object</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            <td class="description last">
            
                
                

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>coordinatesSystem</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            
                <td class="default">
                
                    <code class="language-javascript">'cgcs2000'</code>
                
                </td>
            

            <td class="description last">
            
                
                        <span class="optional">optional</span>
                
                

                
            
                地图坐标系： 'bd09' 、 'gcj02' 、 'cgcs2000' ， 大小写不敏感</td>
        </tr>

    
    </tbody>
</table>
            </td>
        </tr>

    
    </tbody>
</table>











<h5>Returns:</h5>

        
<div class="param-desc">
    调用是否成功
</div>


    




<dl class="details">


    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


        
    

    

    
</article>

</section>





    <footer>
        Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a>
    </footer>
</div>

<div class="nav">
    <div class="menu">
        <input type="text" class="classFilter" id="ClassFilter" placeholder="Search">
        <ul id="ClassList"><li data-name=":type:getKeyValue"><a href="-_type_getKeyValue.html">:type:getKeyValue</a></li><li data-name="cameraFlyTo"><a href="global.html#cameraFlyTo">cameraFlyTo</a></li><li data-name="cameraFlyToBegin"><a href="global.html#cameraFlyToBegin">cameraFlyToBegin</a></li><li data-name="cameraPositionGet"><a href="global.html#cameraPositionGet">cameraPositionGet</a></li><li data-name="cameraZoomIn"><a href="global.html#cameraZoomIn">cameraZoomIn</a></li><li data-name="cameraZoomOut"><a href="global.html#cameraZoomOut">cameraZoomOut</a></li><li data-name="coordinatesTransform"><a href="global.html#coordinatesTransform">coordinatesTransform</a></li><li data-name="destroyed"><a href="global.html#destroyed">destroyed</a></li><li data-name="editLayerOverlayHeatMap"><a href="global.html#editLayerOverlayHeatMap">editLayerOverlayHeatMap</a></li><li data-name="editLayerOverlayPoint"><a href="global.html#editLayerOverlayPoint">editLayerOverlayPoint</a></li><li data-name="nextTick2dMap"><a href="global.html#nextTick2dMap">nextTick2dMap</a></li></ul>
    </div>
</div>

<script>
if (window.frameElement) {
    document.body.className = 'embedded';

    var ele = document.createElement('a');
    ele.className = 'popout';
    ele.target = '_blank';
    ele.href = window.location.href;
    ele.title = 'Pop out';
    document.getElementById('main').appendChild(ele);
}

// Set targets on external links.  Sandcastle and GitHub shouldn't be embedded in any iframe.
Array.prototype.forEach.call(document.getElementsByTagName('a'), function(a) {
    if (/^https?:/i.test(a.getAttribute('href'))) {
        a.target='_blank';
    }
});
</script>

<script src="javascript/prism.js"></script>
<script src="javascript/cesiumDoc.js"></script>

</body>
</html>